<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "tmall1.exp_info".
 *
 * @property string $fid
 * @property string $expid
 * @property string $orderid
 * @property string $expstatus
 * @property string $exec_time
 * @property string $exec_address
 * @property string $exec_station
 * @property string $exec_station_phone
 * @property string $exec_status
 * @property string $exec_remark
 * @property string $exec_signer
 * @property string $updatetime
 * @property integer $type
 */
class ExpInfo extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'tmall1.exp_info';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
           //[['updatetime','expid','orderid','expstatus','exec_time','exec_address','exec_station','exec_station_phone','exec_status','exec_remark','exec_signer','updatetime','type'], 'safe'],
            [['type'], 'integer'],
            [['expid', 'exec_station', 'exec_station_phone'], 'string', 'max' => 60],
            [['orderid', 'expstatus'], 'string', 'max' => 30],
            [['exec_time', 'exec_status'], 'string', 'max' => 20],
            [['exec_address'], 'string', 'max' => 200],
            [['exec_remark'], 'string', 'max' => 255],
            [['exec_signer'], 'string', 'max' => 100],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'fid' => 'Fid',
            'expid' => '快递单号',
            'orderid' => '订单号',
            'expstatus' => '快递单状态',
            'exec_time' => '物流处理时间',
            'exec_address' => '物流处理地址',
            'exec_station' => '物流站',
            'exec_station_phone' => '物流联系电话',
            'exec_status' => '处理状态',
            'exec_remark' => '说明',
            'exec_signer' => '签单人',
            'updatetime' => '记录时间',
            'type' => '1是喜试网，2是韵达',
        ];
    }
}
